package com.jmxcfc.blfsc.common.exception;


import org.apache.commons.lang3.StringUtils;

/**
 * sms处理异常
 * @author pbs
 */
public class ChannelException extends RuntimeException {

    public ChannelException(String msg) {
        super(StringUtils.substring(msg, 0, 300));
    }

    public ChannelException(String msg, Throwable cause) {
        super(StringUtils.substring(msg, 0, 300), cause);
    }

    public ChannelException() {
        super();
    }

    public ChannelException(Throwable cause) {
        super(cause);
    }
}
